package com.train.mgr.modules.biz.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class SetUserGroupReqDTO{

    @ApiModelProperty(name = "groupId", value = "分组Id")
    @NotNull(message = "分组id必填")
    private Long groupId;

    @ApiModelProperty(name = "courseId", value = "课程ID")
    @NotNull(message = "课程id必填")
    private Long courseId;

    @ApiModelProperty(name = "userIds", value = "用户ID列表对象")
    @NotNull(message = "用户id必填")
    private List<Long> userIds;

    @ApiModelProperty(name = "type", value = "操作类型(1-添加，2-移除)")
    @NotNull(message = "操作类型必填")
    private Integer type;

}
